package com.example.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.entity.CommoditOrder;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author tyhxzy
 * @since 2023-11-03
 */
public interface CommoditOrderMapper extends BaseMapper<CommoditOrder> {
    @Select("select * from commodit_order where typecode=#{typecode}")
    List<CommoditOrder> selectByCode(Integer typecode);
    List<Map> selectType(Integer store, Integer code);



}
